package cn.edu.dgut.sai.json;

import javax.json.bind.annotation.JsonbProperty;

public class ResponseDTO {

    @JsonbProperty("响应码")
    private int code;

    @JsonbProperty("响应信息")
    private String msg;

    public ResponseDTO(){}

    public ResponseDTO(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
